﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;


namespace Wheeler.Web.ViewModels
{
    [Serializable]
	public class VehicleViewModel : BaseViewModel
	{	
        /// <summary>
		/// Gets or sets the ID
		/// </summary>
        public int ID { get; set;}

        [Required(ErrorMessage = "Please Enter a রেজিষ্ট্রেশন নম্বর")]
        [StringLength(135, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "রেজিষ্ট্রেশন নম্বর")] 
		public String RegistrationNo	{ get; set; }

        [Required(ErrorMessage = "একটি রেজিষ্ট্রেশন তারিখ নির্বাচন করুন")]
        //[StringLength(135, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "রেজিষ্ট্রেশন তারিখ")]
        public String RegistrationDate { get; set; }

        [Required(ErrorMessage = "Please Enter a ইঞ্জিন নম্বর")]
        [StringLength(135, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "ইঞ্জিন নম্বর ")] 
		public String EngineNo	{ get; set; }

        [Required(ErrorMessage = "Please Enter a চেসিস নম্বর")]
        [StringLength(135, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "চেসিস নম্বর")] 
		public String ChasisNo	{ get; set; }

        [Required(ErrorMessage = "Please Enter a গ্রাহকের নাম")]
        [StringLength(450, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "গ্রাহকের নাম")]
		public String OwnerName	{ get; set; }

        [Required(ErrorMessage = "Please Enter an গ্রাহকের ঠিকানা")]
        [StringLength(750, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "গ্রাহকের ঠিকানা")] 
		public String Address	{ get; set; }

        [Required(ErrorMessage = "Please Enter a মোবাইল নম্বর")]
        [StringLength(60, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "মোবাইল নম্বর")] 
		public String CellPhone	{ get; set; }

        [Required(ErrorMessage = "Please Enter a সিএনজি সিলিন্ডার নম্বর")]
        [StringLength(45, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "সিএনজি সিলিন্ডার নম্বর")] 
        public String CNGCylinderNo { get; set; }

        [Required(ErrorMessage = "Please Select a ফরম জমাদানের তারিখ")]
        [Display(Name = "ফরম জমাদানের তারিখ")]
        public String FormSubmissionDate { get; set; }

        //[Required(ErrorMessage = "Please Select a Picture for this Auto Rickshaw")]
        //[StringLength(50, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        //[Display(Name = "Picture")]
        public String PictureFile { get; set; }

        public int FixedVehicleID { get; set; }
       
		public bool IsVerified	{ get; set; }
       
		public DateTime CreatedOn	{ get; set; }

		public DateTime ModifiedOn	{ get; set; }
        
		public int ModifiedBy	{ get; set; }

        public int CreatedBy { get; set; }

        [Required(ErrorMessage = "Please Enter a BRTC Number")]
        [StringLength(60, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "BRTC Number")] 
        public String BRTANumber { get; set; }

        public bool HasPublished { get; set; }

        public String CropProperty { get; set; }

        public int PictureWidth { get; set; }

        public int PictureHeight { get; set; }

        public String OriginalFileName { get; set; }
	}
}